const mongoose = require('mongoose')
const Schema = mongoose.Schema


const Ablums_type = {
    year: {
        type: Number,
        default: 2024
    },
    month: {
        type: Number,
        default: 5
    },
    day: {
        type: Number,
        default: 1
    },
    publish_time: {
        type: Number,
        default: Date.now()
    },
    Albumbs: {
        type: Array,
        default: []
    }
}

const AblumsModel = mongoose.model("ablum", new Schema(Ablums_type))

module.exports = AblumsModel